interface Com1Props {
  value1: string;
}
const Com1: React.FC<Com1Props> = (props) => {
  const { value1 } = props;
  return <div style={{ background: "#eee",margin:"12px 0" }}>子组件： {value1}</div>;
};

export default Com1;
